package com.superb.dto;

import com.superb.entity.User;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author Superb
 * @date 2020/11/8 - 14:28
 * @E_mail superb12580@163.com
 */
@Data
public class Login implements Serializable {

    @NotBlank(message = "昵称不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;


}
